from django.db import models

# Create your models here.

from django.contrib.auth.models import AbstractUser

# @功能：class User
# @说明：扩写AUTH表
# @作者：xiao
# @日期：2021/09/24
class User(AbstractUser):
    modile = models.CharField(max_length=32,verbose_name='联系方式')
    icon = models.ImageField(upload_to='icon',default="icon/default.png")

    class Meta:
        db_table = 'luffy_user'
        verbose_name= "用户表"
        verbose_name_plural = verbose_name

